package com.ftg.learn.comm;

import lombok.Getter;

/**
 * 描述
 *
 * @author 布衣
 * @date 2025/8/6
 */
@Getter
public enum RMessCommEnum {
    R_DATA_NOT_EXIST_ERROR(10087,RMessComm.R_DATA_NOT_EXIST_ERROR),
    R_SAVE_PARAMETER_ERROR(10086,RMessComm.R_SAVE_PARAMETER_ERROR_MSG),
    R_MESS_SUCCESS_ENUM(200,RMessComm.R_SUCCESS_MSG),
    R_MESS_FAILURE_ENUM(500,RMessComm.R_FAILURE_MSG),
    R_USER_NOTFOUND(5001,RMessComm.R_USER_NOTFOUND),
    R_PASSWORD_NOTFOUND(5002, RMessComm.R_PASSWORD_NOTFOUND), R_MESS_NO_TOKEN(5003, RMessComm.R_MESS_NO_TOKEN),
    R_CAPTCHA_ERROR(40001,RMessComm.R_CAPTCHA_ERROR ), NOT_FOUND_TOKEN(403, "无效的令牌"), TOKEN_NONE_VALID(402,"令牌验证失败,请重新登陆" );

    private final Integer code;
    private final String msg;

    RMessCommEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
